Skip to content

feat: button hovers, less rounding, full bleed 50/50#10

Merged
ben-basten merged 9 commits into
mainfrom
feat/buttons
Jan 28, 2026
Merged

feat: button hovers, less rounding, full bleed 50/50#10
ben-basten merged 9 commits into
mainfrom
feat/buttons

Conversation

@ben-basten
Copy link
Copy Markdown
Owner

No description provided.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 27, 2026

Deploy Preview for bs-said-yes ready!

Name Link
🔨 Latest commit 2c53117
🔍 Latest deploy log https://app.netlify.com/projects/bs-said-yes/deploys/69794fd8a9eaaf0008db6cd6
😎 Deploy Preview https://deploy-preview-10--bs-said-yes.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes button styling and hover behavior, simplifies the ContentContainer API, and refactors the 50/50 content module into clearer white vs. tan (secondary) variants with updated layout and border radius.

Changes:

  • Introduces a new button/button-secondary utility pattern and updates usages (including navigation, login, and skip-link buttons) to use size utilities (button-sm/md/lg) separately from base button styles, with improved hover and disabled states.
  • Refactors the FiftyFifty module into FiftyFiftyWhite and FiftyFiftySecondary components, including full-bleed behavior on secondary background, while keeping alignment behavior and CTA structure consistent.
  • Simplifies ContentContainer by removing the padding prop, applying consistent horizontal padding by default, and cleaning up unused spacing CSS variables; adjusts rounding on hero and nav links to use rounded-lg.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app/pages/login.vue Updates the login submit button to use the new button button-md pattern so it picks up shared button styling and hover/disabled behavior.
app/components/navigation/MobileMenu.vue Adjusts mobile menu nav link rounding to rounded-lg and ensures the CTA uses button button-lg for consistent button styling.
app/components/navigation/MainNavigation.vue Updates main nav link rounding to rounded-lg and applies button button-md to the floating CTA link.
app/components/modules/HomepageHero.vue Reduces hero image border radius from rounded-xl to rounded-lg to align with the new rounding system.
app/components/modules/FiftyFiftyWhite.vue New white-background 50/50 layout component with preserved alignment behavior, updated rounded-lg image styling, and CTAs using button / button-secondary with button-md.
app/components/modules/FiftyFiftySecondary.vue New tan/secondary-background 50/50 layout with full-bleed treatment, gradient overlay on the image, and CTAs using the new button utilities with appropriate alignment margins.
app/components/modules/FiftyFifty.vue Simplifies the module to delegate to FiftyFiftySecondary when background === 'Tan' and FiftyFiftyWhite otherwise, keeping only the background computed.
app/components/base/SkipLink.vue Ensures the skip link button uses button button-sm so it inherits the unified button styling.
app/components/base/ContentContainer.vue Removes the padding prop and always applies px-side-mobile md:px-side, leaving grid as the only behavior flag.
app/assets/css/main.css Removes unused spacing variables --spacing-side-sm and --spacing-side-offset now that all callers use the simplified padding model.
app/assets/css/_component.css Redefines button utilities into a base button and button-secondary with new hover/disabled styles and transitions, and updates size utilities (button-sm/md/lg) to only control padding and font size.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ben-basten ben-basten marked this pull request as ready for review January 28, 2026 02:38
@ben-basten ben-basten merged commit 2ba56b7 into main Jan 28, 2026
11 checks passed
@ben-basten ben-basten deleted the feat/buttons branch January 28, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants